﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace SilverTile.Xaml
{
    public class AreaTransition : FrameworkElement
    {

        public AreaTransition()
        { }

        public static readonly DependencyProperty TargetColumnProperty =  DependencyProperty.Register("TargetColumn", typeof(Int32), typeof(AreaTransition), null);
        public Int32 TargetColumn
        {
            get { return (Int32)GetValue(TargetColumnProperty); }
            set { SetValue(TargetColumnProperty, value); }
        }
        
        public static readonly DependencyProperty TargetRowProperty = DependencyProperty.Register("TargetRow", typeof(Int32), typeof(AreaTransition), null);
        public Int32 TargetRow
        {
            get { return (Int32)GetValue(TargetRowProperty); }
            set { SetValue(TargetRowProperty, value); }
        }

        public static readonly DependencyProperty GameAreaNameProperty = DependencyProperty.Register("GameAreaName", typeof(string), typeof(AreaTransition), null);
        public string GameAreaName
        {
            get { return (string)GetValue(GameAreaNameProperty); }
            set { SetValue(GameAreaNameProperty, value); }
        }

        public static readonly DependencyProperty CollisionSidesProperty = DependencyProperty.Register("CollisionSides", typeof(Collision), typeof(AreaTransition), 
            new PropertyMetadata(Collision.All));
        public Collision CollisionSides
        {
            get { return (Collision)GetValue(CollisionSidesProperty); }
            set { SetValue(CollisionSidesProperty, value); }
        }
        
    }
}
